/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package repertoire;

import com.opensymphony.xwork2.ActionSupport;

/**
 *
 * @author Danicela
 */
public class ConsultationAction extends ActionSupport {

    //private Repertoire repertoire;
    private String nom;
    private String tel;

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getTel() {
        return tel;
    }

     @Override
    public String execute() {

        tel = Repertoire.getRepertoireTest().getTel(nom);
        return SUCCESS;
    }

}
